<template>
  <div>
    <proposer></proposer>
    <div class="zhezhao"
         v-if="isShow">
      <div class="admin-img">
        <img src="@/assets/img/admin.jpg"
             alt=""
             style="width:100%;height:100%;display: block;">
      </div>
      <div class="zhe-body">
        <div class="admin-zh">
          <div class="zh-top">
            2859142518@qq.com
          </div>
          <div class="zh-inp">
            <div class="inp-lt">
              <i class="el-icon-user-solid"></i>
            </div>
            <el-input v-model="gh"
                      placeholder="请输入员工号"
                      class="inpt"></el-input>
          </div>
        </div>
        <el-button type="primary"
                   @click="isShow=false">点击进行验证</el-button>
      </div>
    </div>
    <div class="zhezhao1"
         v-if="isShow1">
      <div class="admin-img">
        <img src="@/assets/img/jianli.jpg"
             alt=""
             style="width:100%;height:100%;display: block;">
      </div>
      <div class="zhe-body">
        <el-form ref="form"
                 :model="edufrom">
          <el-form-item>
            <div style="width:100%;display:flex">
              <span style="flex:2"><i class="el-icon-message"></i></span>
              <el-input style="flex:8"
                        v-model="edufrom.email"
                        placeholder="请输入您的邮箱"></el-input>
            </div>
          </el-form-item>
          <el-form-item>
            <div style="width:100%;display:flex">
              <span style="flex:2"><i class="el-icon-user"></i></span>
              <el-input style="flex:8"
                        v-model="edufrom.name"
                        placeholder="请输入您的姓名"></el-input>
            </div>
          </el-form-item>
          <el-form-item>
            <div style="width:100%;display:flex">
              <span style="flex:2"><i class="el-icon-mobile-phone"></i></span>
              <el-input style="flex:8"
                        v-model="edufrom.phone"
                        placeholder="请输入您的手机号"></el-input>
            </div>
          </el-form-item>
          <el-button type="primary"
                     @click="isShow1=false">点击进行验证</el-button>
        </el-form>
      </div>
    </div>
    <div class="header">
      <div class="header-c">
        <div class="yimg"></div>
        <div class="username">名字</div>
        <div class="email">2859214334@qq.com(邮箱)</div>
      </div>
    </div>
    <div class="bottom">
      <div class="bom-top">
        <div class="clum"
             @click="isShow=true">
          <i class="el-icon-user ic"></i>
          <p class="txt">员工认证</p>
          <i class=" el-icon-arrow-right ico"></i>
        </div>
        <div class="clum"
             @click="isShow1=true">
          <i class="el-icon-link ic"></i>
          <p class="txt">关联简历</p>
          <i class=" el-icon-arrow-right ico"></i>
        </div>
        <div class="clum"
             @click="huizhuan">
          <i class="el-icon-document ic"></i>
          <p class="txt">我的简历</p>
          <i class=" el-icon-arrow-right ico"></i>
        </div>
        <div class="clum none">
          <i class="el-icon-s-custom ic"></i>
          <p class="txt">我的招聘会</p>
          <i class=" el-icon-arrow-right ico"></i>
        </div>
      </div>
      <div class="tiao">
        <div class="tiao-c"></div>
      </div>
      <div class="bom-cen">
        <div class="bom-top">
          <div class="clum"
               @click="seek">
            <i class="el-icon-edit-outline ic"></i>
            <p class="txt">我的申请</p>
            <i class=" el-icon-arrow-right ico"></i>
          </div>
          <div class="clum"
               @click="mend">
            <i class="el-icon-position ic"></i>
            <p class="txt">我的推荐</p>
            <i class=" el-icon-arrow-right ico"></i>
          </div>
          <div class="clum none"
               @click="lect">
            <i class="el-icon-star-off ic"></i>
            <p class="txt">我的收藏</p>
            <i class=" el-icon-arrow-right ico"></i>
          </div>
        </div>
      </div>
      <div class="tiao">
        <div class="tiao-c"></div>
      </div>
      <div class="bom-fot">
        <div class="bom-top">
          <div class="clum"
               @click="zixun">
            <i class="el-icon-chat-dot-square ic"></i>
            <p class="txt">我的咨询</p>
            <i class=" el-icon-arrow-right ico"></i>
          </div>
          <div class="clum"
               @click="browse">
            <i class="el-icon-s-operation ic"></i>
            <p class="txt">我的浏览</p>
            <i class=" el-icon-arrow-right ico"></i>
          </div>
          <div class="clum none">
            <i class="el-icon-medal ic"></i>
            <p class="txt">我的积分</p>
            <i class="el-icon-arrow-right ico"></i>
          </div>
        </div>
      </div>
      <div class="tiao">
        <div class="tiao-c"></div>
      </div>
    </div>
  </div>
</template>

<script>
import proposer from "@/components/proposer"
export default {
  data () {
    return {
      isShow: false,
      isShow1: false,
      gh: "",
      // 关联简历的表单数据
      edufrom: {
        email: '',
        name: '',
        phone: ''
      }
    }
  },
  methods: {
    huizhuan () {
      this.$router.push('/menu')
    },
    lect () {
      this.$router.push('/collect')
    },
    mend () {
      this.$router.push('/lication')
    },
    seek () {
      this.$router.push('/shenqing')
    },
    zixun () {
      this.$router.push('/seek')
    },
    browse () {
      this.$router.push('/browse')
    }
  },
  components: {
    proposer
  }
}
</script>
<style scoped>
/deep/.el-button--primary {
  background: #9b0f15;
  border-color: #9b0f15;
  width: 90%;
  position: fixed;
  bottom: 40px;
  left: 50%;
  margin-left: -45%;
  border-radius: 20px;
}
/deep/.el-button--primary:focus,
.el-button--primary:hover {
  background: #9b0f15;
  border-color: #9b0f15;
  color: #fff;
}
.zhezhao1 /deep/.el-button--primary {
  background: #cb000c;
  border-color: #cb000c;
  width: 90%;
  position: fixed;
  bottom: 40px;
  left: 50%;
  margin-left: -45%;
  border-radius: 5px;
}
.zhezhao1 /deep/.el-button--primary:focus,
.el-button--primary:hover {
  background: #cb000c;
  border-color: #cb000c;
  color: #fff;
}
.admin-img {
  margin-bottom: 10px;
}
.zh-top {
  margin-bottom: 15px;
  color: #6e6969;
}
.inp-lt {
  width: 50px;
  height: 100%;
  text-align: center;
  background: black;
  line-height: 53px;
}
.zhezhao1 .zhe-body {
  padding: 0 25px;
}
.inp-lt > .el-icon-user-solid {
  color: #fff;
}
/deep/.el-input__inner {
  border: 1px solid black;
  border-radius: 0;
  height: 100%;
}
/deep/.el-input__inner:hover {
  border: 1px solid black;
}
.zhezhao1 /deep/.el-form-item__content {
  border-bottom: 1px solid #dcdfe6;
}
.zhezhao1 /deep/.el-input__inner {
  border: none;
  border-radius: 0;
  height: 100%;
}
.zhezhao1 /deep/.el-icon-message,
.el-icon-user,
.el-icon-mobile-phone {
  font-size: 20px;
}
.zhezhao1 /deep/.el-input__inner:hover {
  border: none;
}
.zh-inp {
  height: 51px;
  display: flex;
}
.admin-zh {
  background: #fff;
  padding: 30px;
}
.zhezhao,
.zhezhao1 {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: 30;
  overflow: auto;
  background-color: #f6f6f6;
  overflow: hidden;
}
.zhezhao1 {
  background: #fff;
}
.bottom .none {
  border-bottom: none;
}
.tiao {
  padding: 0 2px;
}
.tiao-c {
  height: 16px;
  background: #e1e6e9;
}
p {
  margin: 0;
  padding: 0;
}
.bom-top {
  padding-left: 25px;
}
.ic {
  flex: 1;
  font-size: 18px;
  color: #9b0f15;
}
.txt {
  flex: 3;
  font-size: 14px;
}
.ico {
  flex: 10;
  text-align: right;
  font-size: 18px;
  color: #9b0f15;
  font-weight: bold;
}
.clum {
  border-bottom: 1px solid #e1e6e9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 45px;
  padding-right: 25px;
}
.header {
  overflow: hidden;
  height: 100%;
}
.header-c {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 20px 0 30px;
}
.header-c:after {
  width: 140%;
  height: 100%;
  position: absolute;
  left: -20%;
  top: 0;
  z-index: -1;
  content: "";
  border-radius: 0 0 50% 50%;
  background: #9b0f15;
}
.yimg {
  height: 150px;
  width: 150px;
  border-radius: 50%;
  background: #fff;
  margin: 0 auto 10px;
}
.username {
  font-size: 20px;
  color: #fff;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
}
.email {
  font-size: 14px;
  color: #fff;
  text-align: center;
}
</style>